minimum path-length algorithm

un. 最短通路算法